/* eslint-disable @typescript-eslint/no-explicit-any */
// api.ts
import { Base } from './base'
import { Request } from './request'

class api {
  /* api接口模块 */
  public static article = {
    // 基于Base模块封装调用
    genres: (params?: any): Promise<any> =>
      Request.get(`${Base.env}/api/SnArticle/GetCountAsync`, params),

    user: (params?: any): Promise<any> =>
      Request.get(`${Base.env}/user/list`, params)
  };
}
export { api }
